public class CheckEnv {
  public static void main(String[] args) {
    System.out.println("JAVA_HOME: " + System.getenv("JAVA_HOME"));
    System.out.println("java.version: " + System.getProperty("java.version"));
  }
}
